package com.mzj.saas.mservice.property.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mzj.saas.mservice.property.entity.EstateRepairsContentImg;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author hikari
 * @since 2021-05-14
 */
public class EstateRepairsRecordVO implements Serializable {
    private static final long serialVersionUID = -5465189151961187886L;

    private Long id;

    /**
     * 房产类型：1 公租房 2 物业房产
     */
    @NotNull
    private Integer houseType;

    private String houseTypeName;

    /**
     * 房产 id
     */
    @NotNull
    private String houseId;

    /**
     * 小区 id
     */
    @NotNull
    private String communityId;

    private String communityName;

    /**
     * 楼栋 id
     */
    @NotNull
    private Long buildingNum;

    private String buildingNumName;

    /**
     * 单元 id
     */
    @NotNull
    private Long unit;

    private String unitName;

    /**
     * 房号
     */
    @NotNull
    private String roomNumber;

    /**
     * 楼层
     */
    @NotNull
    private Integer floor;

    /**
     * 产权所有人姓名
     */
    private String ownerName;

    /**
     * 产权所有人电话
     */
    private String ownerMobile;

    /**
     * 保修服务：1 私有房产报修 2 公共区域报修
     */
    private Integer serviceType;

    private String serviceTypeName;

    /**
     * 报修内容
     */
    private String content;

    /**
     * 报修状态：0待处理 1待维修 2维修中 3待缴费 4已完成
     */
    private Integer status;

    private String statusName;

    /**
     * 报修时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date repairsTime;

    /**
     * 缴费时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date paymentTime;

    /**
     * 维修人员id
     */
    private String serviceUserId;

    /**
     * 维修人员姓名
     */
    private String serviceUserName;

    /**
     * 评论状态：0未评论 1已评论 默认0
     */
    private Integer reviewStatus;

    /**
     * 操作人
     */
    private String operatorId;

    /**
     * 操作人名称
     */
    private String operatorName;

    /**
     * 操作人手机
     */
    private String operatorMobile;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 最后操作时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateTime;

    private List<EstateRepairsContentImg> estateRepairsContentImgList;

    private Long housePropertyId;//物业id

    private Integer operatorFlag;//操作人标识：0否 1是

    private Integer propertyFlag;//物业标识：0否 1是

    private Integer serviceFlag;//维修人员标识：0否 1是

    private byte[] contentTemp;//临时接收内容字段

    private String orderId; //订单id

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public byte[] getContentTemp() {
        return contentTemp;
    }

    public void setContentTemp(byte[] contentTemp) {
        this.contentTemp = contentTemp;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getHouseType() {
        return houseType;
    }

    public void setHouseType(Integer houseType) {
        this.houseType = houseType;
    }

    public String getHouseTypeName() {
        return houseTypeName;
    }

    public void setHouseTypeName(String houseTypeName) {
        this.houseTypeName = houseTypeName;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public Long getBuildingNum() {
        return buildingNum;
    }

    public void setBuildingNum(Long buildingNum) {
        this.buildingNum = buildingNum;
    }

    public String getBuildingNumName() {
        return buildingNumName;
    }

    public void setBuildingNumName(String buildingNumName) {
        this.buildingNumName = buildingNumName;
    }

    public Long getUnit() {
        return unit;
    }

    public void setUnit(Long unit) {
        this.unit = unit;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerMobile() {
        return ownerMobile;
    }

    public void setOwnerMobile(String ownerMobile) {
        this.ownerMobile = ownerMobile;
    }

    public Integer getServiceType() {
        return serviceType;
    }

    public void setServiceType(Integer serviceType) {
        this.serviceType = serviceType;
    }

    public String getServiceTypeName() {
        return serviceTypeName;
    }

    public void setServiceTypeName(String serviceTypeName) {
        this.serviceTypeName = serviceTypeName;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public Date getRepairsTime() {
        return repairsTime;
    }

    public void setRepairsTime(Date repairsTime) {
        this.repairsTime = repairsTime;
    }

    public Date getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(Date paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getServiceUserId() {
        return serviceUserId;
    }

    public void setServiceUserId(String serviceUserId) {
        this.serviceUserId = serviceUserId;
    }

    public String getServiceUserName() {
        return serviceUserName;
    }

    public void setServiceUserName(String serviceUserName) {
        this.serviceUserName = serviceUserName;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public List<EstateRepairsContentImg> getEstateRepairsContentImgList() {
        return estateRepairsContentImgList;
    }

    public void setEstateRepairsContentImgList(List<EstateRepairsContentImg> estateRepairsContentImgList) {
        this.estateRepairsContentImgList = estateRepairsContentImgList;
    }

    public Long getHousePropertyId() {
        return housePropertyId;
    }

    public void setHousePropertyId(Long housePropertyId) {
        this.housePropertyId = housePropertyId;
    }

    public Integer getOperatorFlag() {
        return operatorFlag;
    }

    public void setOperatorFlag(Integer operatorFlag) {
        this.operatorFlag = operatorFlag;
    }

    public Integer getPropertyFlag() {
        return propertyFlag;
    }

    public void setPropertyFlag(Integer propertyFlag) {
        this.propertyFlag = propertyFlag;
    }

    public Integer getServiceFlag() {
        return serviceFlag;
    }

    public void setServiceFlag(Integer serviceFlag) {
        this.serviceFlag = serviceFlag;
    }

    public Integer getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(Integer reviewStatus) {
        this.reviewStatus = reviewStatus;
    }

    public String getOperatorMobile() {
        return operatorMobile;
    }

    public void setOperatorMobile(String operatorMobile) {
        this.operatorMobile = operatorMobile;
    }
}
